module.exports = {
  SUCCESS: { ret: 0, msg: 'ok' },
  UNKNOW_ERROR: { ret: 1, msg: '未知错误' },
  HANDLE_ERROR: { ret: 2, msg: '执行出错' },
  NO_PERMISSION: { ret: 10002, msg: '没有权限' },
  REQUIRED_PARAMS: { ret: 10004, msg: '必须参数未提供' },
  PARANS_NOT_VOID: { ret: 10005, msg: '数据不能为空' },
  INVALIDATE_PARAMS: { ret: 10006, msg: '参数错误' },
  INVALID_EMAIL: { ret: 10007, msg: '邮箱格式错误' },
  INVALID_DATE: { ret: 10008, msg: '无效的日期' },
  INVALID_CODE: { ret: 10009, msg: '验证码无效' },

  AUTH_REQUIRED: { ret: 40001, msg: '需要登录' },
  USER_EXISTS: { ret: 40002, msg: '用户已经存在' }
}
